#include <iostream>

using namespace std;

class person {
		friend ostream &operator<<(ostream &cout, const person &p);
	public:
		person(): m_A(10), m_B(20) {
		}

	private:
		int m_A;
		int m_B;
};

ostream &operator<<(ostream &cout, const person &p) {
	cout << "m_A:" << p.m_A << " m_B:" << p.m_B << endl;
	return cout;
}


void test1() {
	person a1;

	cout << a1 << endl;
}

int main() {
	test1();

	return 0;
}